*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    font-family: Arial;
    color: #1e3948;
}
a{text-decoration: none;color: #1e3948}li{list-style: none;}
.clearfix::after{
    content: "";
    clear: both;
    display: block;
}
/*.container{
    width: 1200px;
    margin: 0 auto;
}*/
nav{
    background: #3097d1;
}
.logo{
    float: left;
}
.logo img{
    height: 30px;
    width: 100px;
    margin: 10px 10px 10px 30px;
}
nav ul{
    display: flex;
    float: left;
}
nav ul li{
    padding: 0 20px;
}
nav ul a{
    line-height: 53px;
    color: #d1e8f4;
}
nav ul a:hover{
    color: white;
}


.container{
    width: 1200px;
    margin: auto;
}
.main{
    background-color: #f5f8fa;
}
.main-inner{
    padding-top: 30px;
    display: flex;
}
.main-inner .left,.main-inner .center{
    margin-right: 30px;
    border-radius: 2px;
}
.main-inner .left,.main-inner .right{
    flex: 1;
    border-radius: 2px;
}
.main-inner .center{
    flex: 2;
    background-color: white;
}
.left-top,.left-center,.left-bottom{
    border: 1px solid #d3e0e9;
    border-radius: 2px;
    background: white;
}
.left-top{
    margin-bottom: 30px;
    text-align: center;
}
.left-top .pp{
    height: 150px;
    background: url("../img/iceland.jpg") no-repeat;
    background-size: cover;
}
.left-top .me img{
    height: 100px;
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    border: 2px solid white;
}
.left-top .bb{
    line-height: 25px;
    padding: 10px 25px 25px 25px;
}
.left-center{
    margin-bottom: 30px;
    padding: 15px 0 30px 15px;
}
.left-center h3{
    margin-bottom: 12px;
    color: #1e3948;
}
.left-center p{
    color: #1e3948;
    line-height: 24px;
}
.left-center a{
    color: #30a4dd;
}

.left-bottom{
    padding: 15px 10px 20px 10px;
}
.left-bottom h3{
    display: block;
    width: 100%;
    color: #1e3948;
    margin-bottom: 15px;
    padding-left: 15px;
}
.left-bottom .box-img{
    display: flex;
    flex-wrap: wrap;
}
.left-bottom .box-img a{
    flex: 0 0 50%;
}
.left-bottom .box-img img{
    width: 100%;
    height: 100%;
    padding: 5px;
}







.center{
    border: 1px solid #d3e0e9;
}
.dave-gameche{
    padding: 30px 20px 0 20px;
    position: relative;
}
.dave-gameche .span{
    color: #a3aeb2;
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 30px;
}
.dave-gameche p{
    margin: 20px 0;
    line-height: 23px;
}
.dave-gameche p>a{
    font-weight: bold;
    font-size: 18px;
}
h3{
    font-size: 18px;;
}
.dave-gameche .box-img{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-left: -5px;
    margin-right: -5px;
}
.dave-gameche .box-img a{
    flex: 0 0 50%;
    height: 213px;
}
.dave-gameche .box-img img{
    width: 100%;
    height: 100%;
    padding: 5px;
}

.dave-gameche .border{
    margin-right: -20px;
    margin-left: -20px;
    position: relative;
    border-bottom: 1px solid #d3e0e9;
    border-top: 1px solid #d3e0e9;
}
.dave-gameche .border{
    padding: 30px 20px 20px 20px;
}
.dave-gameche .border span{
    position: absolute;
    top: 30px;
    right: 20px;
    color: #a3aeb2;
}

.dd{
    position: relative;
    padding-top: 26px;
}
.span-3{
    position: absolute;
    top: 26px;
    right: 0;
    color: #a3aeb2;
}
.dd img{
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
}





.sponsored{
    padding: 20px 15px 15px;
    border: 1px solid #d3e0e9;
    background: white;
    margin-bottom: 30px;
}
.sponsored img{
    width: 100%;
    padding: 15px 0;
    height: 200px;
    cursor: pointer;
}
.sponsored p{
    line-height: 23px;
}
.sponsored h3{
    font-size: 16px;
}
.sponsored a{
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    color: #4b8fc1;
    border-radius: 5px;
    border: 1px solid #2a88bd;
    transition: .2s;
}
.sponsored a:hover{
    background: #2a88bd;
    color: white;
}

.likes{
    width: 100%;
    border: 1px solid #d3e0e9;
    padding: 15px 15px 0;
    background: white;
}
.likes h3{
    display: block;
    font-size:17px;
}
.Jacob{
    display: flex;
    margin: 20px 0;
}
.Mark{
    display: flex;
    margin-bottom: 20px;

}
.Jacob h3,.Mark h3{
    font-size: 16px;
}
.likes span{
    font-weight: 200;
}
.Jacob img,.Mark img{
    display: inline-block;
    flex: 1;
    height: 80px;
    border-radius: 50%;
}

.Jacob .fat,
.Mark .mdo{
    height: 80px;
    display: inline-block;
    flex: 3;
    padding-left: 15px;
}
.Jacob a,.Mark a{
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid #2a88bd;
    color: #3d8fc1;
    border-radius: 5px;
    margin-top: 5px;
    transition: .2s;
}
.Jacob a:hover,.Mark a:hover{
    background: #2a88bd;
    color: white;
}
.likes .p{
    border-top: 1px solid #d3e0e9;
    margin-right: -15px;
    margin-left: -15px;
    padding: 15px 15px 15px;
    background: #f5f8fa;
}
footer{
    text-align: center;
    background: #f5f8fa;
    padding-top: 40px;
}
footer .tt{
    border-top: 1px solid #cccccc;
    padding: 40px 0;
}
footer p{
    line-height: 40px;
    color: #1e3948;
}
footer .footer-bottom a{
    padding: 0 15px;
}
footer p a{
    color: #30a4dd;
}
footer p a:hover{
    text-decoration: underline;
}
.left-center p a:hover{
    text-decoration: underline;
}

@media (max-width: 540px){
    .container{
        width: 100%;
    }
    .main-inner{
        flex-wrap:wrap;
        display: flex;
    }
    .main-inner .left,
    .main-inner .center,
    .main-inner .right{
        flex: 0 0 100%;
    }
    nav ul li{
        padding: 0;
        flex: 0 0 25%;
        text-align: center;
    }
    footer .tt{
        padding: 0px;
    }
    footer .footer-bottom a{
        padding: 0 3px;
    }
    .dave-gameche .box-img a{
        height: 150px;
    }
    nav .logo{
        display: none;
    }
    nav ul{
        float: none;
    }
}